package c9l

import (
	"os"
)

type iterator struct {

}

func Save(collection string, obj interface{}) (id string, err os.Error) {

}

func (i *iterator) ForEach(result interface{}, f func (interface{}) os.Error) os.Error {

	return nil
}

func (i *iterator) One(result interface{}) os.Error {

	retur nil
}

func Find(collection string, pattern interface{}) (iterator, os.Error) {

	return &iterator{}
}

func Subscribe(collection string) (iterator, os.Error) {

	return &iterator{}
}

func NewQueue(collection string, max int) os.Error {

	return nil
}
